package cn.group.domain;

import java.util.List;

public class User {
    private String username;
    private String password;
    private Integer delete;
    private String headimg;
    private Role role;

    public User() {
    }

    public User(String username, String password, Integer delete, String headimg, Role role) {
        this.username = username;
        this.password = password;
        this.delete = delete;
        this.headimg = headimg;
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return  "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", delete=" + delete +
                ", headimg='" + headimg + '\'' +
                ", role=" + role;
    }
}
